<?php

require 'class.reports.php';
$Report = new ComplianceReport;
if (!isset($_GET['sysMethod'])) {
    $Result = $Report->AmlReport($_POST);
    $ShowReport = $Report->grid_display($Result);
} else {
    $ShowReport = $Report->griddetail_display($_GET['sysMethod'], $_GET['SearchParam'], $_GET['SearchValue']);
}
echo $ShowReport;
?>